#include <gtest/gtest.h>
#include "person.h"
#include <iostream>

class AutoTest1 : public testing::Test
{
public:
    // 所有案例执行之前
    static void SetUpTestSuite() {}
    // 所有案例执行之后
    static void TearDownTestSuite() {}

protected:
    // 每个案例之前执行
    void SetUp() override {}
    // 每个案例之后执行
    void TearDown() override {}

protected:
};

TEST_F(AutoTest1, Process02)
{
    class person p1(20, "John");
    std::cout << "age: " << p1.get_age() << ", name: " << p1.get_name() << std::endl;
    std::cout << "Process02" << std::endl;
}